set(sources
mode.c	
mode.h
option.c 
option.h 
settings.c 
settings.h 
cpu.c 
cpu.h 
cpu_os.c 
cpu_os.h 
xfce-panel-plugin.h 
xfce-panel-plugin.c 
xfce-fake.h 
xfce-fake.c
)

INCLUDE(FindPkgConfig)
FIND_PACKAGE(PkgConfig REQUIRED) 

pkg_check_modules(GTK REQUIRED gtk+-2.0)


include_directories(
${GTK_INCLUDE_DIRS} 
)

link_directories(
${GTK_INCLUDE_DIRS}
) 

add_executable(${PROJECT_NAME} ${sources})

target_link_libraries(
  ${PROJECT_NAME} 
  ${GTK_LIBRARIES}
)


install (TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ./)
